package net.mikoo.seals.biz.mapper;

import java.util.List;

import org.mybatis.spring.annotation.MapperScan;

import net.mikoo.seals.model.WorkflowProcess;
import net.mikoo.seals.model.WorkflowProcessQuery;

@MapperScan
public interface WorkflowProcessMapper {
	
	Integer insert(WorkflowProcess workflowProcess);
	
	Integer update(WorkflowProcess workflowProcess);
	
	WorkflowProcess selectInfoById(Long processId);
	
	List<WorkflowProcess> selectByQueryToPage(WorkflowProcessQuery query);
	
	Integer countByQueryToPage(WorkflowProcessQuery query);
	
	WorkflowProcess selectInfoByQuery(WorkflowProcessQuery query);
	
	Integer delete(WorkflowProcess workflowProcess);
}